#!/bin/bash
cd `dirname $0`
pids=$1.$RANDOM
cat $1 >$pids
chmod +x ./treeps.sh
./treeps.sh $1 $pids
cat $pids
cat $pids | xargs -r  kill -9

rm -f $pids
rm -f $1


